package com.msw.axon.model.single;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;

@Getter
@Setter
@ToString
@Entity
@Table(name = "t_order")
public class Order {

    @Id
    private String orderId;

    private String comment;

    @ManyToOne
    @JoinColumn(name = "customerId")
    private Customer customer;

}
